<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'app',
  beforeDestroy () {
    window.localStorage.removeItem('userName')
    window.localStorage.removeItem('postInfo')
  }
}
</script>

<style>
  body{
    margin: 0;
    overflow-x: hidden;
  }
</style>
